//加载公共样式
require('../../assets/css/public.less')
//加载自己的样式
require('./runing.less');
//获取axios工具函数
const request = require('../../lib/request/request.js')
//引入字体图标
require('../../assets/public/fonts/iconfont.css')
// 服务器地址
const API = 'http://fitness.h5.itsource.cn:3701'
// 获取元素
function $(sel) {
    return document.querySelector(sel)
}

window.onload = () => {
    $('.pauseBtn').addEventListener('click', () => {
        $('.pauseBtn').style.display = 'none'
        $('.lock').style.display = 'none'
        $('.maskbtn').style.display = 'flex'
    })

    $('.continue1').addEventListener('click', () => {
        $('.pauseBtn').style.display = 'flex'
        $('.lock').style.display = 'flex'
        $('.maskbtn').style.display = 'none'
    })
    $('.end').addEventListener('click', () => {
        location.href = './map.html'
    })


}